
*{
  font-family: Avenir, sans-serif;
  font-size: 1em;
  text-align: center;
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
h1{
    font-size: 1.5em;
    margin: 20px auto;
    text-align: center;
    text-transform: uppercase;
}
/*Premier header sous body*/
body > header{
	position: sticky;
	top: 0px;
}
body > header > nav{
	width:100%;
	height:42px;
	margin: 0 auto;
}
.conteneur-nav{
	position: absolute;
	width:100%;
}
body > header > nav input[type=checkbox]{
	display:none;
}
body > header > nav label{
	display:inline-block;
	width: 100%;
	padding: 10px 0px;
	text-align:center;
	background-color: rgba(220,220,220,0.5); 
	/*gris clair*/
}
body > header > nav ul{
	display:none;
	list-style-type:none;
	background-color: #555;
	/*gris foncé*/
}
/*style pour les ul sous nav, si input checked*/
body > header > nav input[type=checkbox]:checked +ul{
	display:flex;
	flex-flow:column wrap;
}
body > header > nav ul li{
	flex:1 1 auto;
	text-align: center;
}
body > header > nav > div > ul > li > a{
	color:white;
	/*liens du menu en blanc*/
}
body > header > nav a{
	display: block;
	text-decoration: none;
	/*pas de souligné*/
	color:black;
	padding:10px 0px;
}
.sous{
	display:flex;
	flex-flow:column wrap;
	z-index:1000;
}
.sous li{
	flex:1 1 auto;
	text-align:left;
}
.sous a{
	padding:10px;
	background-color:rgba(200,200,200,0.8);
}

/*section*/
.conteneur{
	display:flex;
	flex-flow:column wrap;
}

/*bleu ciel*/
.g1,.g4{background-color:rgba(120,205,225,0.4);}
/*rose clair*/
.g2,.g5{background-color:rgba(225,100,175,0.4);}
.g1,.g2,.g4,.g5{min-height:100px;}

/*design du g3*/

.sousconteneur{
	display: flex;
	flex-flow: column wrap;
	text-align: center;
	background-color;rgba(225,215,120,0.4);
}
.sousconteneur h1{
	font-size:1.2em;
	margin:10px 0px 0px 0px;
}
/*mettre éléments du menu en ligne, pas de souligné*/
.sousconteneur nav ul{
	display:flex;
	flex-flow: row wrap;
	list-style-type:none;
	justify-content:space-around;
}
/*couleur des liens cliqués*/
.sousconteneur nav a{
	display:block;
	color:#333;
}
.sousconteneur article{
	margin:10px;
}
.sousconteneur footer{
	margin-bottom:10px;
}

/*footer*/
body > footer{
	width:100%;
	height:100px;
	background-color:#555;
	color:white; /*blanc sur gris*/
	text-align:center;
	padding:20px;
}

/*verion non mobile (bureau)*/
@media screen and (min-width: 980px){
   .conteneur-nav{
        position: static;
    }
    body > header > nav label, nav input{
        display: none; /*cacher le label*/
    }
    body > header > nav input[type=checkbox]:checked + ul, body > header > nav ul{
        display: flex;
        flex-flow: row wrap;
        background-color: RGBa(220,220,220,0.5);
    }
    body > header > nav ul li{
        position: relative;
    }
    body > header > nav > div > ul > li > a{
        color: black;
    }
    body > header > nav a{
        border-bottom: 2px solid transparent;
    }
    body > header > nav a:hover{
        color: orange;
        border-bottom: 2px solid gold;
    }
    .sous{
        display: none;
        box-shadow: 0px 1px 2px #CCC;
        background-color: white;
        position: absolute;
        width: 100%;
    }
    body > header > nav > div > ul li:hover .sous{
        display: flex;
        flex-flow: column wrap;
    }
    .sous a{
        border-bottom: none;
        background-color: white;
    }
    .sous a:hover{
        border-bottom: none;
        background-color: RGBa(200,200,200,0.1);
    }
    .deroulant > a::after{
        content:" ▼";
        font-size: 12px;
    }
    .conteneur{
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        grid-template-rows: repeat(2,minmax(300px, 1fr));
    }
    .g1{
        grid-column: 1 / 2;
    }
    .g2{
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
    .g3{
        grid-column: 2 / 3;
        grid-row: 1 / 3;
    }
    .g4{
        grid-column : 3 / 4;
    }
    .g5{
        grid-column : 3 / 4;
        grid-rows: 2 / 3;
    }
}










































